<template>
  <div style="padding:0 100px;">
    <h3 class="xui-text-center" style="font-size:30px;" v-if="isCN">{{detail.title}}</h3>
    <h3 class="xui-text-center" style="font-size:30px;" v-else>{{detail.titleEn}}</h3>
    <div  v-if="isCN" v-html="detail.content"></div>
    <div  v-else v-html="detail.contentEn"></div>
  </div>
</template>

<script>
import { getLang } from "@/utils/lang";
import { getDetail } from "@/api/specExhib";
export default {
  data() {
    return {
      article: {
        title: "",
        content: ""
      }
    };
  },
  computed: {
    detail() {
      return this.$store.getters.specExhibDetail;
    },
    isCN() {
      return getLang() !== "en";
    }
  }
};
</script>

